package com.rose.redis._distributed_lock;

/**
 * <p>
 * 锁常量
 * </p>
 *
 * @author: zhu.chen
 * @date: 2020/12/30
 * @version: v1.0.0
 */
public class LockConstant {

    /**
     * 锁资源名
     */
    protected static final String LOCK_RESOURCE_NAME = "rose-redis";

    /**
     * 等待持有锁的时间
     */
    protected static final Long WAIT_TIME = 100L;

    /**
     * 获得锁后多久释放锁
     */
    protected static final Long LEASE_TIME = 10L;

}
